package com.company.cloud.tenant.modules.mgr.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.company.cloud.common.bean.LoginSimpleUserInfo;
import com.company.cloud.tenant.modules.api.request.*;
import com.company.cloud.tenant.modules.api.response.TenantFull;

public interface TenantMgrService {


    public IPage<TenantFull> query(TenantQueryRequest request);

    public TenantFull save(TenantAddRequest params, LoginSimpleUserInfo userInfo);

    public TenantFull save2user(Tenant2UserAddRequest params, LoginSimpleUserInfo userInfo);

    public TenantFull check(TenantCheckRequest params, LoginSimpleUserInfo userInfo);

    public TenantFull update(TenantUpdateRequest params, LoginSimpleUserInfo userInfo);

    public  TenantFull frozen(String tenantCode, LoginSimpleUserInfo userInfo);

    public  TenantFull  unfreeze(String tenantCode, LoginSimpleUserInfo userInfo);

    public  TenantFull del(String tenantCode, LoginSimpleUserInfo userInfo);

}
